using System;

namespace Kiwi.Container.Internal
{
    public class NullInternalComponentResolver : IInternalComponentResolver
    {
        public static readonly IInternalComponentResolver Default = new NullInternalComponentResolver();

        #region IInternalComponentResolver Members

        public object TryResolve(Type type, Func<IComponentRegistration, bool> filter)
        {
            return null;
        }

        public object GetCachedComponent(IComponentRegistration registration)
        {
            return null;
        }

        #endregion
    }
}